<?php 
	$list = $this->getSuggests()->getData();
?>
<div class="fl kf-center">
        
			<div class="bk-a">
				<br /><div id="title"><a href="index.php">首页</a>&nbsp;&gt;&nbsp;<span id="sysSubNav"></span></div>
				
                <p class="kf-begin">互动社区</p>
                <div class="bk-l"></div>
                <a href="?r=suggest/create"><img class ="hdimg"src="images/stherth.jpg" /></a>
				<div>
					
				</div>
                <div class="tab1-content">
	                <div class="hdsq-hr">
	                	<hr />
	                </div>
	                <?php 
	                	foreach ($list as $key => $value) {
	                		echo '<div class="hdsq-content">';
	                		echo '<div class="hdsq-img"><img src="images/touxiang.png" />';
	                		echo '<div class="hdsq-name">'.$value["name"].'</div>';
	                		echo '<div class="hdsq-time">'.date('Y-m-d', strtotime($value["submit_time"])).'</div></div>';
	                		echo '<div class="hdsq-question">'.$value["title"].'</div>';
	                		echo '<div class="hdsq-answer">'.$value["reply_content"].'</div></div>';
	                	}
	                ?>
	                </div>
	                <div class="hdsq-hr">
	          			<hr />
	               	</div>
				</div>
                <div class="cb"></div>
		</div>